package mysqlinit

import "gorm.io/gorm"

type Knowledge struct {
	gorm.Model
	Title string `gorm:"type:varchar(30);not null;comment:'标题';index:title_idx"`
	Click int    `gorm:"type:int(5);not null;comment:'点击量'"`
	State string `gorm:"type:varchar(25);not null;comment:'状态'"`
}
